package dya318.car;

public class SmallCar extends Car {
    @Override
    public void useCar(){
        super.useCar();
    }
    //汽车按喇叭
    public void trumpet(){
        System.out.println("小汽车按喇叭");
    }
    //重载按喇叭方法
    public void trumpet(String acation){
        System.out.println("小汽车正在"+acation);
    }
}
